#ifndef PREINCLUDE_H
#define PREINCLUDE_H

#define WIN32_LEAN_AND_MEAN
//#define _WINSOCK_DEPRECATED_NO_WARNINGS

#include <windows.h>
#include <WinSock2.h>
#include <stdio.h>
#include <WS2tcpip.h>
#include <thread>

#pragma comment(lib, "ws2_32.lib")//windows�µ��ö�̬��

#pragma pack(1)

struct DataPackage {
  int dealMode;
  char str[32];
};

#define SERVER_IP "127.0.0.1"
#define MULTI_UDP_IP "239.0.0.10"
#define SERVER_PORT 65151

#endif //PREINCLUDE_H